package com.example.addressbook.table;

import org.eclipse.jface.viewers.CellLabelProvider;
import org.eclipse.jface.viewers.ViewerCell;

import com.example.addressbook.entities.Address;

public class MyCellLabelProvider extends CellLabelProvider {

	@Override
	public void update(ViewerCell cell) {
		Address address = (Address) cell.getElement();
		cell.setText(address.getName());
	}

}
